Error of the Median filter, sine wave with white noise and different wave numbers (2015.10.14 DW)


In [1]:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
import sys
sys.path.insert(0, 'C:\Users\Dominik\Documents\GitRep\kt-2015-DSPHandsOn\MedianFilter\Python') #Add a new path with needed .py files
import functions
import gitInformation

In [2]:
gitInformation.printInformation()


Information about this notebook
============================================================
Date: 2015-10-27
Python Version: 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
Git directory: C:\Users\Dominik\Documents\GitRep\kt-2015-DSPHandsOn\.git
Current git SHA: 76fd07ad3c7558b00412edafb05561a901b9a97b
Current remote: origin
Current branch: master

I want to show how white noise effects the error rate when you have different wave numbers and a defined window length.


In [12]:
%matplotlib inline

In [13]:
fig = plt.figure()
for i in range (0,50):
    functions.ErrorplotWaveNoised(i,5)



In [10]:
pp = PdfPages( 'Error of the median filtered sine waves with white noise and different wave numbers.pdf')
pp.savefig(fig)
pp.close()